
 
 F u n c t i o n :   i s A r r a y ( o b j e c t ) 
 
 
 
 D e s c r i p t i o n :   D e t e r m i n e s   i f   a n   o b j e c t   i s   a   v a l i d   A r r a y . 
 
 
 
 R e t u r n s :   T r u e   i f   y e s ,   F a l s e   o t h e r w i s e . 
 
 
 
 N o t e :   T h i s   f u n c t i o n   d o e s   n o t   p e r f o r m   t h e   s a m e   c h e c k   a s   t h e   A r r a y . i s A r r a y ( )   m e t h o d .   I n s t e a d ,   $ A . i s A r r a y ( )   w i l l   c h e c k   i f   t h e   o b j e c t   i s   a   v a l i d   i t e r a b l e   a r r a y - l i k e   o b j e c t ,   w h i c h   i s   n e c e s s a r y   t o   d e t e r m i n e   i f   t h e   o b j e c t   c a n   b e   p r o c e s s e d   i n   t h e   s a m e   m a n n e r   a s   a   s t a n d a r d   A r r a y .   A s   s u c h ,   $ A . i s A r r a y ( )   w i l l   r e t u r n   t r u e   i f   t h e   o b j e c t   i s   a   n o r m a l   a r r a y   w i t h   a n   o b j e c t   t y p e   o f   " [ o b j e c t   A r r a y ] " ,   " [ o b j e c t   N o d e L i s t ] " ,   o r   " [ o b j e c t   H T M L C o l l e c t i o n ] " ,   w h i c h   t h e n   a l l o w s   f o r   t h e   p r o c e s s i n g   o f   D O M   n o d e   a r r a y s   i n   t h e   s a m e   m a n n e r   a s   a   s t a n d a r d   A r r a y .   T h e   i s A r r a y ( )   f u n c t i o n   a l w a y s   r e t u r n s   a   B o o l e a n   v a l u e ,   e v e n   w h e n   c h a i n e d . 
 
 
 
 E x a m p l e : 
 
 
 
 / /   I s   a n   o b j e c t   a   v a l i d   i t e r a b l e   A r r a y 
 
 v a r   c o n f i r m   =   $ A . i s A r r a y ( o b j e c t ) ; 
 
 